package venus.ui;

import android.os.Handler;
import android.os.Message;


public class VenusThread extends Thread  {

    public Handler m_handler;

    
    public VenusThread(Handler handler)
    {
        super();
        m_handler = handler;
    }
    
    @Override
    public void run() {
        while(true)
        {
        	try {
				Thread.sleep(2000);
	            Message msg=new Message();
	            msg.what=0;
	            m_handler.sendMessage(msg);
	            super.run();
			} catch (InterruptedException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}

        }
    }

    
    
}